#include "Shape.h"


Shape::Shape(const Point2& pos) : position_(pos) {}

void Shape::setPos(const Point2& pos){
    position_ = pos;
}

const Point2& Shape::getPos() const{
    return position_;
}

std::ostream& operator<<(std::ostream& os, const Shape& s){
    os << "Shape( position:" << s.getPos() << ")";
    return os;
}
